class Guides:
    CATALOG_NAME = 'harmonyos-guides'
    OBJECT_ID = 'application-dev-guide'


class Api:
    CATALOG_NAME = 'harmonyos-references'
    OBJECT_ID = 'development-intro-api'


class BestPractices:
    CATALOG_NAME = 'best-practices'
    OBJECT_ID = 'bpta-harmonyos-features'


class FAQ:
    CATALOG_NAME = 'harmonyos-faqs'
    OBJECT_ID = 'faqs-ux-design'


class Overview:
    CATALOG_NAME = 'harmonyos-releases'
    OBJECT_ID = 'overview-allversion'


# 代理配置
proxies = {
    'http': 'http://y30054261:qwer%231234@proxy.huawei.com:8080',
    'https': 'http://y30054261:qwer%231234@proxy.huawei.com:8080',
}

# headers配置
headers = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36'
}

# URL一些链接地址
HUAWEI_URL_PREFIX = {
    'cn': 'https://developer.huawei.com/consumer/cn/doc',
    'en': 'https://developer.huawei.com/consumer/en/doc'
}
DOCUMENT_PORTAL = 'https://svc-drcn.developer.huawei.com/community/servlet/consumer/cn/documentPortal'
GET_CATALOG_TREE = DOCUMENT_PORTAL + '/getCatalogTree'
GET_DOCUMENT_BY_ID = DOCUMENT_PORTAL + '/getDocumentById'
HARMONYOS_SAMPLES_GITEE = 'https://gitee.com/organizations/harmonyos_samples/projects'
HARMONYOS_SAMPLES_DEVELOPER = ''

MAX_SEMAPHORE = 100  # 最大协程数
